package response

import "gitee.com/worklz/yunj-blog-go-micro-common/util"

// Errcodes 错误码映射消息
var Errcodes = map[int]string{
	0:   "操作成功",
	500: "未知异常",
}

// ErrcodesAppend 添加新的错误码映射消息
func ErrcodesAppend(m map[int]string) {
	Errcodes = util.MapMerge(Errcodes, m)
}
